From: Giovanni Campagna Date: Tue, 17 Jul 2012 10:20:56 +0000 (+0200) Subject: UserMenu: move Install Updates at the end X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6314 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2791d948e9fbbf373818d988a0710aadb1e0b094;p=gnome-shell.git UserMenu: move Install Updates at the end Follow the design update and move the Install Updates item at the end, together with Power Off. https://bugzilla.gnome.org/show_bug.cgi?id=680080 --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index f8a57d2dc..f535923ae 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -721,17 +721,17 @@ const UserMenuButton = new Lang.Class({ item = new PopupMenu.PopupSeparatorMenuItem(); this.menu.addMenuItem(item); - item = new PopupMenu.PopupMenuItem(_("Install Updates & Restart")); - item.connect('activate', Lang.bind(this, this._onInstallUpdatesActivate)); - this.menu.addMenuItem(item); - this._installUpdatesItem = item; - item = new PopupMenu.PopupAlternatingMenuItem(_("Power Off"), _("Suspend")); this.menu.addMenuItem(item); item.connect('activate', Lang.bind(this, this._onSuspendOrPowerOffActivate)); this._suspendOrPowerOffItem = item; this._updateSuspendOrPowerOff(); + + item = new PopupMenu.PopupMenuItem(_("Install Updates & Restart")); + item.connect('activate', Lang.bind(this, this._onInstallUpdatesActivate)); + this.menu.addMenuItem(item); + this._installUpdatesItem = item; }, _updatePresenceStatus: function(item, event) {